x86 hvm: Fix MTRR physaddr-width check.
authorKeir Fraser <keir@xen.org>
Tue, 9 Nov 2010 11:48:43 +0000 (11:48 +0000)
committerKeir Fraser <keir@xen.org>
Tue, 9 Nov 2010 11:48:43 +0000 (11:48 +0000)
commite04aea7477c379e904e7520bdfa2f42284427a97
tree2733047d71995326846298fde35f84b13c2fa942
parente9cc934b593327ec10163b6d68f2a502ca38ce71
x86 hvm: Fix MTRR physaddr-width check.

Should be checking against physaddr width presented to teh guest,
rather than the host physaddr width.

Signed-off-by: Keir Fraser <keir@xen.org>
xen/arch/x86/hvm/hvm.c
xen/arch/x86/hvm/mtrr.c
xen/include/asm-x86/mtrr.h